﻿using System;
using System.Reflection;
public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }

    public Person()
    {
        Name = "Unknown";
        Age = 0;
    }
    public Person(string name, int age)
    {
        Name = name;
        Age = age;
    }

    public override string ToString()
    {
        return $"Person: Name = {Name}, Age = {Age}";
    }
}
class Program
{
    static void Main()
    {
        Type personType = typeof(Person);
        ConstructorInfo ctor = personType.GetConstructor(Type.EmptyTypes);
        object person = ctor.Invoke(null);
        Console.WriteLine(person); 
    }
}